/**
 * 
 */
package be.vdabantwerpen.gow.entities;

import java.io.Serializable;

/**
 * User
 * 
 * @author Jorn Nicolay
 * @version 0.1
 */
public class GOWUser implements Serializable {
        private static final long serialversionUID = 1L;
	private boolean role;
	private int number, postalCode, userId;
	private String firstName, lastName, street, town, userName, password;

	/**
	 * User
	 */
	public GOWUser() {
	}

	/**
	 * User
	 * 
	 * @param userId
	 * @param firstName
	 * @param lastName
	 * @param street
	 * @param number
	 * @param postalCode
	 * @param town
	 * @param userName
	 * @param password
	 * @param role
	 */
	public GOWUser(int userId, String firstName, String lastName, String street,
			int number, int postalCode, String town, String userName,
			String password) {
		setUserId(userId);
		setFirstName(firstName);
		setLastName(lastName);
		setStreet(street);
		setNumber(number);
		setPostalCode(postalCode);
		setTown(town);
		setUserName(userName);
		setPassword(password);
	}

	/**
	 * User
	 * 
	 * @param firstName
	 * @param lastName
	 * @param street
	 * @param number
	 * @param postalCode
	 * @param town
	 * @param userName
	 * @param password
	 */
	public GOWUser(String firstName, String lastName, String street, int number,
			int postalCode, String town, String userName, String password) {
		setFirstName(firstName);
		setLastName(lastName);
		setStreet(street);
		setNumber(number);
		setPostalCode(postalCode);
		setTown(town);
		setUserName(userName);
		setPassword(password);
	}

	/**
	 * @return the number
	 */
	public int getNumber() {
		return number;
	}

	/**
	 * @param number
	 *            the number to set
	 */
	public void setNumber(int number) {
		this.number = number;
	}

	/**
	 * @return the postalCode
	 */
	public int getPostalCode() {
		return postalCode;
	}

	/**
	 * @param postalCode
	 *            the postalCode to set
	 */
	public void setPostalCode(int postalCode) {
		this.postalCode = postalCode;
	}

	/**
	 * @return the userId
	 */
	public int getUserId() {
		return userId;
	}

	/**
	 * @param userId
	 *            the userId to set
	 */
	public void setUserId(int userId) {
		this.userId = userId;
	}

	/**
	 * @return the role
	 */
	public boolean getRole() {
		return role;
	}

	/**
	 * @param role
	 *            the role to set
	 */
	public void setRole(boolean role) {
		this.role = role;
	}

	/**
	 * @return the firstName
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * @param firstName
	 *            the firstName to set
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/**
	 * @return the lastName
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * @param lastName
	 *            the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * @return the street
	 */
	public String getStreet() {
		return street;
	}

	/**
	 * @param street
	 *            the street to set
	 */
	public void setStreet(String street) {
		this.street = street;
	}

	/**
	 * @return the town
	 */
	public String getTown() {
		return town;
	}

	/**
	 * @param town
	 *            the town to set
	 */
	public void setTown(String town) {
		this.town = town;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName
	 *            the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

}
